package learn.spring.spi.wrapper;

import com.alibaba.dubbo.common.URL;
import learn.spring.spi.service.Car;

/**
 *
 */
public class CarWrapper implements Car {

    private Car car;

    public CarWrapper(Car car) {
        this.car = car;
    }

    @Override
    public void test(URL url) {
        System.out.println("wrapper");
        car.test(url);
    }
}
